<? global $Menu2, $SubMenu2; ?>

<div class="menu-right">
	<div class="menu-seo">
        <div class="title-menu-right">Các chủ đề SEO</div>
        <ul>
           <?php
            $m = count($SubMenu2);
            
            for($j=0; $j<$m; $j++){
                if(!empty($SubMenu2[$j]["name_$lg"]))
                {
                    $class_active = '';
                    $class_active = isset($_GET['cat2'])? (($_GET['cat2']==$SubMenu2[$j]["unique_key_$lg"])?' active':''):'';
                    $class_active = ($j==0)? ('first'.$class_active):$class_active;
            ?>
                  <li class="<?=$class_active?>"><a href="<?=$SubMenu2Link[$j]; ?>" title="<?=$SubMenu2[$j]["name_$lg"]; ?>">
                    <h2><?=$SubMenu2[$j]["name_$lg"]; ?></h2>
                    </a></li>
                 <?
            }}
            ?>     
		</ul>
	</div>
    <div class="menu-social">
    	<ul>
            <li class="google-plus"><a href="https://plus.google.com/u/0/b/106266543731779214035/">Google Plus</a></li>
            <li class="facebook"><a href="https://www.facebook.com/VietSEOProDotCom">Facebook</a></li>
            <li class="twitter"><a href="">Twitter</a></li>
            <li class="youtube"><a href="http://www.youtube.com/user/VietSEOPro">YouTuBe</a></li> 
        </ul>
    </div>
</div> 